<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>@yield('title','首页') - {{ config('site.title') }}</title>
    <meta name="description" content="{{ config('site.description') }}" />
    <meta name="keyword" content="{{ config('site.keywords') }}" />
    @include('admin.common._app_script')
    @include('admin.common._app_head')
    @yield('css')
    @yield('js-head')
</head>
<body class="app-layout-body">
<textarea name="" id="code-area" class="none"></textarea>
<section class="app-layout-admin">
    <header class="d-flex app-header">
        <div class="app-logo">
            <a href="/admin">{{ config('site.title') }}</a>
        </div>
        <ul class="app-top-nav nav">
            <li class="nav-item">
                <a class="nav-link" href="/">网站首页</a>
            </li>
            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">下拉菜单</a>
                <div class="dropdown-menu shadow">
                    <a class="dropdown-item" href="#">邮件管理</a>
                    <a class="dropdown-item" href="#">消息管理</a>
                    <a class="dropdown-item" href="#">授权管理</a>
                    <div class="dropdown-divider"></div>
                    <a class="dropdown-item" href="#">留言管理</a>
                </div>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#">友情链接</a>
            </li>
        </ul>
        <div class="ml-auto app-user-info">
            @include('admin.layouts._header')
        </div>
    </header>

    <!--/header-->

    <section class="app-container">
        <aside class="app-side">
            <div class="jing-side-scroll">
                @include('admin.layouts._sidebar')
            </div>
        </aside>
        <!--/sidebar-->

        <main class="app-body">
            <!-- 内容主体区域 -->
            <div class="app-crumb">
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="/">首页</a></li>
                        <li class="breadcrumb-item active" aria-current="page"></li>
                    </ol>
                </nav>
            </div>
            @yield('content')
        </main>

        <div class="jing-footer app-footer none">
            <!-- 底部固定区域 -->
            @include('admin.layouts._footer')
        </div>
        <!--/footer-->
    </section>
    <!--/container-->

</section>
<script src="{{ asset('/static/js/index.js') }}"></script>
<script>

</script>
@yield('js')
@yield('inner-body')
@include('admin.common._app_footer')
</body>
</html>
